package car;

public class Test {

	public static void main(String[] args) {
		Car c = new Car();
		c.brand = "奇瑞350";
		c.color = "橙红";
		c.dipan = "一汽底盘";
		c.luntai = "马牌轮胎";
		// Engine e = new Engine();
		// // .....
		// c.eng = e;

		c.eng = new Engine();
		c.eng.brand = "潍柴";
		c.eng.hp = 200;
		c.eng.weight = 2000;

		c.start();
		c.whistle();
		c.stop();
	}

}
